import axios from "@/utils/axios";
export default{
    getallnews: (data) => axios.post("/news/selAllNews",data),
    delnew:(id)=>axios.delete(`/news/${id}`),
    updatenews:(data)=>axios.put("/news/updateNews",data),
    addnews:(data)=>axios.post('/news/addNews',data),
  
}